<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>user_detail</title>
<script src="${pageContext.request.contextPath }/js/jquery-1.11.0.js" type="text/javascript"></script>
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/css/user_detail.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/js/myJs/user_detail.js"></script>
</head>
<body>
	<div>
		<div>
			<label>ID：</label><input value="${sessionScope.user_detail.userId }" disabled="disabled"/>
			<label>用户名：</label><input value="${sessionScope.user_detail.username }" disabled="disabled"/>
		</div>
		<div>
			<label>密码：</label><input id="myPw" type="password" value="${sessionScope.user_detail.password }"/>
			<input id="b_first" type="button" value="查看密码" onclick="showPwMsg()"/>
			<input id="b_thrid" type="button" value="密码修改"/>
		</div>
		<!-- 密码修改弹出层 -->
		<div id="overlay"></div> 
			<div id="win">
				
					<h2>
						<a class="msg">用户信息修改</a>
						<span id="close">×</span>
					</h2>
					<div style="margin-top: 10px;">
						<div>
							<label class="myL">用户名：</label>
							<input id="tblUser.username" name="tblUser.username" type="text" value="${session.user_detail.username}" disabled="disabled"/>
						</div>
						<div>
							<label class="myL" >新密码：</label>
							<input id="new_password" type="password" onblur="testInput();"/>
						</div>
						<div>
							<label class="myL" onblur="testInput();">确认新密码：</label>
							<input id="tblUser.password" name="tblUser.password" onblur="testInput();" type="password"/>
							<p id="Prompt" style="color:red;"></p>
						</div>
						<div>
							<input id="changePw_btn" value="确认" type="button" onclick="changePwAction();"/>
							<input id="check_msg" value="查看密码" type="button" onclick="checkmsg();"/>
						</div>
					</div>
				
			</div> 
		
			<div>
				<label>持有人：</label><input value="${sessionScope.user_detail.tblPersonalInformation.fullName }" />
				<label>性别：</label><input value="${sessionScope.user_detail.tblPersonalInformation.gender }"/>
			</div>
			<div>
				<label>生日：</label><input value="${sessionScope.user_detail.tblPersonalInformation.birthday }"/>
				<label>联系方式：</label><input value="${sessionScope.user_detail.tblPersonalInformation.phone }"/>
			</div>
			<div>
				<label>Email：</label><input value="${sessionScope.user_detail.tblPersonalInformation.email }"/>
				<label>联系方式：</label><input value="${sessionScope.user_detail.tblPersonalInformation.createdate }"/>
			</div>
	</div>
</body>
</html>